/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.api.constants;

import com.pingan.haofang.framework.common.functional.lang.control.base.annotation.Value;

/**
 * 引擎类型枚举
 *
 * @author baojie371
 * @date 17/5/4
 * @since 1.0.0
 */
public enum EngineType {

    /**
     * SOLR
     */
    SOLR(0),

    /**
     * ES
     */
    ES(1);

    private int value;

    EngineType(int value) {
        this.value = value;
    }

    @Value
    public int getValue() {
        return value;
    }
}
